package com.wontube.smr.conf.dogs;

import com.wontube.core.conf.dogs.FileWatchDog;
import com.wontube.smr.bo.sites.fs.conf.FourShared;



/**
 * @author yuechao
 *
 */
public final class FourSharedWatchDog extends FileWatchDog {
	/**
	 * @param filename
	 */
	public FourSharedWatchDog(String confPath) {
		super(confPath);
	}

	/* 
	 * @see core.pub.FileWatchdog#doOnChange()
	 */
	@Override
	protected void doOnChange() {
		FourShared.fs.load(super.file);
	}

	@Override
	protected String getFilename() {
		return "4shared.json";
	}
}
